/*
 * Copyright (c) 2016- 2020 qolome.com Inc. All Rights Reserved.
 * ProjectName: qolome-knowledge
 * FileName: CTO.java
 * Author: jiangfeng@qolome.com
 * Date: 2020/3/29 下午3:07
 * LastModified: 2020/03/29 15:07:29
 */

package com.qolome.knowledge.design.pattern.visitor.demo.kpi;

import lombok.extern.slf4j.Slf4j;

/**
 * @author Qolome
 * @version V1.0
 * @Description CTO
 * @date 2020年 03月29日 15:07:44
 */
@Slf4j
public class CEOVisitor implements IVisitor{

    @Override
    public void visit(Manager manager) {

        log.info("产品经理:{},KPI:{}",manager.name,manager.kpi);

    }

    @Override
    public void visit(Developer developer) {
        log.info("开发人员:{},KPI:{}",developer.name,developer.kpi);
    }
}
